
// http://192.168.10.81:8088/biaoshitong/user-server/user/checkIsRegiested
/* 保存阅读记录 */
// viewArticle: "/biaoshitong/business-server/cms/viewArticle",
/**
 * 严肃声明：
 * 开源版本请务必保留此注释头信息，若删除我方将保留所有法律责任追究！
 * 本系统已申请软件著作权，受国家版权局知识产权以及国家计算机软件著作权保护！
 * 可正常分享和学习源码，不得用于违法犯罪活动，违者必究！
 * Copyright (c) 2020 陈尼克 all rights reserved.
 * 版权所有，侵权必究！
 */

import axios from '../utils/axios'

export function jdLogin(params) {
  return axios.post('/biaoshitong/business-server/jd/login', params);
}

// http://192.168.10.81:8088/biaoshitong/business-server/jd/login


export function checkIsRegiested(params) {
  return axios.post('/biaoshitong/user-server/user/checkIsRegiested', params);
}
// http://192.168.10.81:8088/biaoshitong/user-server/user/appLogin
export function appLogin(params) {
  return axios.post('/biaoshitong/user-server/user/appLogin', params);
}

// http://192.168.10.81:8088/biaoshitong/user-server/message/queryVerificationCode

export function queryVerificationCode(params) {
  return axios.post('/biaoshitong/user-server/message/queryVerificationCode', params);
}
// userAccount: 18404984585
// verificationCode: 1977
// loginType: 3
// source: H5/个人微信

// https://m.biaoshitong.com/biaoshitong/user-server/user/regiest

export function appRegiest(params) {
  return axios.post('/biaoshitong/user-server/user/regiest', params);
}